package front.windows;

import utils.helpers.logging.LineLog;
import back.services.GetUrl;
import back.services.Ping;
import back.services.Telnet;
import back.services.Tnsping;

public class m {
	public static void main(String args[]) throws InterruptedException {
		LineLog line = new LineLog();

		while (true) {
			line.addpair("SERVIDOR", "INTEGRACIO");
			line.out();

			Send.sendToUser(GetUrl.execute("yahoo.com"));

			
			// interns
			Send.sendToUser(Ping.execute("google.es"));

			Send.sendToUser(Tnsping.execute("dboracle",
					"desenvSalut.id3a.local", "scott", "tygger"));
			Send.sendToUser(Telnet.execute("dboracle", 1521));
			
			Send.sendToUser(Telnet.execute("google.com", 443));

			
			
			line.addpair("FINAL", "aixo es tot !");
			line.out();

			Thread.sleep(60000);

		}
	}
}
